package com.mybatistest.mapper;

import com.mybatistest.pojo.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface EmpMapper {
//    @Select("SELECT count(*) from emp")
//    public Long count();
//
//    @Select("SELECT * from emp limit #{start},#{pageSize}")
//    public List<Emp> list(Integer start,Integer pageSize);

    public List<Emp> list();
}
